package com.hxl.demo.mapper;

import com.hxl.demo.entity.Staff;

import java.util.List;

public interface StaffMapper{

    List<Staff> getStaffList(Integer limit,Integer page,String userName,String pinName,String deptName,String accountType,String tel,Integer id);

    Integer getStaffNum(String userName,String pinName,String deptName,String accountType,String tel);

    Integer staffAdd(Staff staff);

    Integer staffUpdate(Staff staff);

    Integer staffDel(Integer id);
}